<div style='width: 50%; margin: 0 auto; border-style: solid;'>
	<center><h1>= My Blog =</h1></center><hr />
	<?php

	foreach($post as $key => $value) {
		?><h1><?php echo $value['post']; ?></h1><br />
		<form action='DeletePost' method='GET'>
			<input type='hidden' name='deleteid' value="<?php echo $value['id'] ?>" />
			<input type='submit' value='delete'>
		</form>
		<hr /><?php
	}

	?>

	<form action='post' method='GET'>
	<input type='text' name='message' />
	<input type='submit' value='Post' />
	</form>
	<br /><br />
	<!-- need a fix to 'index' -->
	<a href="../index/index">retour a Index</a>
</div>